package com.zhuhjay.common.web.model.domain;

import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @author ZhuHJay
 * @date 2023/7/15 10:56
 */
@Data
public class PageReq {

    /**
     * 当前页码
     */
    @Min(1)
    private long current = 1;
    /**
     * 页长度
     */
    @Min(1)
    @Min(50)
    private long size = 10;

}
